home *** CD-ROM | disk | FTP | other *** search
/ Joint Education Initiative / Joint Education Initiative.iso / programs / dos / gna / image / contour / dnagmag / dmag.doc < prev    next >
Text File  |  1989-03-24  |  14KB  |  217 lines

  1. GEOPHYSICS OF NORTH AMERICA - DNAG MAGNETICS CONTOURS             dmag.doc
  2.  
  3. This directory contains the contours of the DNAG magnetics data set.
  4.  
  5. In order to understand how the data are arranged, one must understand
  6. something about the process of generating these data.  The contouring was
  7. done in 133 regions.  Each contiguous section of each contour line is called
  8. a segment and each segment is made up of some number of line fragments.
  9. Each segment starts with an implicit move command and the fragments are the
  10. endpoints of a series of draw commands.  The data storage scheme therefore
  11. has three basic units: regions, segments, and points (where points are the
  12. ends of fragments).
  13.  
  14. The regionalization of the data is expressed in the file structure.  The
  15. data is stored in 133 files, each called DMAG.NUM, where NUM is the region
  16. number.  Each data file has the longitude and latitude pairs of the
  17. endpoints of the contour lines for all of the contours within the given
  18. region.  These values are stored in two 4-byte floating point numbers.
  19.  
  20. Parameters for Magnetic Regions:
  21.  
  22.   Region   Minimum  Minimum   Maximum  Maximum Number of Number of
  23.          Longitude Latitude Longitude Latitude  Segments    Points
  24.        0   170.037   50.911   179.000   53.500       196      2232
  25.        1   170.041   53.500   179.000   62.417       270      7747
  26.        2   170.037   62.417   179.000   70.292       711     26020
  27.        3   179.000   49.078   188.000   53.500       521      9621
  28.        4   179.000   53.500   188.000   62.417       374      9187
  29.        5   179.000   62.417   188.000   69.130       523     18772
  30.        6   188.000   45.246   197.000   53.500      1430     19388
  31.        7   188.000   53.500   197.000   62.417       825     18817
  32.        8   188.000   62.417   197.000   71.333       410      8418
  33.        9   191.000   71.333   197.000   80.149        76      1975
  34.       10   198.458   39.120   206.000   44.583       818      4393
  35.       11   197.000   44.583   206.000   53.500      3387     29242
  36.       12   197.000   53.500   206.000   62.417      1176     20565
  37.       13   197.000   62.417   206.000   71.333      1077     23058
  38.       14   197.000   71.333   206.000   80.214       702      9202
  39.       15   209.537   28.167   215.000   35.667      1414      3336
  40.       16   206.000   35.667   215.000   44.583       600      3012
  41.       17   206.000   44.583   215.000   53.500      1245      6723
  42.       18   206.000   53.500   215.000   62.417      1717     22733
  43.       19   206.000   62.417   215.000   71.333      1110     20689
  44.       20   206.000   71.333   215.000   80.212      1288      9624
  45.       21   220.412    5.875   224.000    8.917       212       328
  46.       22   218.620    8.917   224.000   17.833       719      1507
  47.       23   215.833   17.833   224.000   26.750      1587      4284
  48.       24   215.000   26.750   224.000   35.667      2620      9583
  49.       25   215.000   35.667   224.000   44.583      1766     17198
  50.       26   215.000   44.583   224.000   53.500      1969     25438
  51.       27   215.000   53.500   224.000   62.417      2495     28437
  52.       28   215.000   62.417   224.000   71.333       907     14965
  53.       29   215.000   71.333   224.000   80.213       729      5590
  54.       30   224.000    6.167   233.000    8.917       241       601
  55.       31   224.000    8.917   233.000   17.833       576      1649
  56.       32   224.000   17.833   233.000   26.750      2735      7831
  57.       33   224.000   26.750   233.000   35.667      2935     12853
  58.       34   224.000   35.667   233.000   44.583      3155     41095
  59.       35   224.000   44.583   233.000   53.500      3175     60822
  60.       36   224.000   53.500   233.000   62.417      2349     35583
  61.       37   224.000   62.417   233.000   71.333       359      7312
  62.       38   224.000   71.333   233.000   80.214       294      8487
  63.       39   233.000    6.875   242.000    8.917       219       683
  64.       40   233.000    8.917   242.000   17.833       624      1982
  65.       41   233.000   17.833   242.000   26.750      2305      8813
  66.       42   233.000   26.750   242.000   35.667      2926     27645
  67.       43   233.000   35.667   242.000   44.583      2421     51096
  68.       44   233.000   44.583   242.000   53.500      2507     43313
  69.       45   233.000   53.500   242.000   62.417      1372     27598
  70.       46   233.000   62.417   242.000   71.333       520     11073
  71.       47   233.000   71.333   242.000   80.214       182      7523
  72.       48   242.000    7.000   251.000    8.917       460      1527
  73.       49   242.000    8.917   251.000   17.833      3473     12798
  74.       50   242.000   17.833   251.000   26.750      4599     26568
  75.       51   242.000   26.750   251.000   35.667      2023     29333
  76.       52   242.000   35.667   251.000   44.583      1897     39788
  77.       53   242.000   44.583   251.000   53.500      1513     30534
  78.       54   242.000   53.500   251.000   62.417      2087     49100
  79.       55   242.000   62.417   251.000   71.167      1917     32685
  80.       56   242.000   72.500   251.000   80.212       110      3690
  81.       57   251.000    7.292   260.000    8.917       810      3802
  82.       58   251.000    8.917   260.000   17.833      6241     27950
  83.       59   251.000   17.833   258.109   25.464      1885     13858
  84.       60   251.000   27.995   260.000   35.667      1043     24498
  85.       61   251.000   35.667   260.000   44.583      1671     42759
  86.       62   251.000   44.583   260.000   53.500       988     24172
  87.       63   251.000   53.500   260.000   62.417      4333     76859
  88.       64   251.000   62.417   260.000   71.333      2594     51626
  89.       65   251.000   71.333   260.000   80.213       210      5067
  90.       66   260.000    7.250   269.000    8.917       506      2147
  91.       67   260.000    8.917   269.000   16.625      1186     16681
  92.       68   261.024   18.542   269.000   26.750        65      2312
  93.       69   260.000   26.750   269.000   35.667       613     18610
  94.       70   260.000   35.667   269.000   44.583      2140     55767
  95.       71   260.000   44.583   269.000   53.500      3695     68234
  96.       72   260.000   53.500   269.000   62.417      4878     84882
  97.       73   260.000   62.417   269.000   71.333      2354     44292
  98.       74   260.000   71.333   269.000   80.213       375      8098
  99.       75   269.000    6.995   278.000    8.917       974      5757
  100.       76   269.000    8.917   278.000   17.833      1561      7844
  101.       77   269.000   17.833   278.000   26.750       319      9899
  102.       78   269.000   26.750   278.000   35.667       832     24649
  103.       79   269.000   35.667   278.000   44.583      1939     52903
  104.       80   269.000   44.583   278.000   53.500      4010     67878
  105.       81   269.000   53.500   278.000   62.417      2660     58934
  106.       82   269.000   62.417   278.000   70.083      2020     29983
  107.       83   269.000   71.995   278.000   80.213       613     18445
  108.       84   278.000    6.833   283.421    8.917       190      1827
  109.       85   278.000    8.917   287.000   17.833       467     16174
  110.       86   278.000   17.833   287.000   26.750       971     18687
  111.       87   278.000   26.750   287.000   35.667      1592     24663
  112.       88   278.000   35.667   287.000   44.583      2760     51170
  113.       89   278.000   44.583   287.000   53.500      5339     76943
  114.       90   278.000   53.500   287.000   62.417      4627     82922
  115.       91   278.000   62.417   287.000   71.333      1318     19022
  116.       92   278.000   71.333   287.000   80.213       619     13633
  117.       93   289.208    7.997   296.000    8.917        58      1202
  118.       94   287.000    8.917   296.000   17.833       397     10939
  119.       95   287.000   17.833   296.000   26.750      3405     19908
  120.       96   287.000   26.750   296.000   35.667      2144     22429
  121.       97   287.000   35.667   296.000   44.583      1010     24342
  122.       98   287.000   44.583   296.000   53.500      5897     90660
  123.       99   287.000   53.500   296.000   62.417      4881     81251
  124.      100   287.000   62.417   296.000   71.333      1261     20089
  125.      101   287.000   71.333   296.000   80.208       284     12682
  126.      102   296.000    8.042   300.380    8.917        69      1094
  127.      103   296.000    8.917   302.417   17.833       442      9863
  128.      104   296.000   17.833   305.000   26.750      4277     13234
  129.      105   296.000   26.750   305.000   35.667      3887     22833
  130.      106   296.000   35.667   305.000   44.583      1070     19745
  131.      107   296.000   44.583   305.000   53.500      5499     87069
  132.      108   296.000   53.500   305.000   62.417      2021     41625
  133.      109   296.000   62.417   305.000   71.333       625     18716
  134.      110   296.000   71.333   304.542   76.125       166      8282
  135.      111   305.000   24.867   305.963   26.750        84       149
  136.      112   305.000   26.750   310.750   35.667       941      3093
  137.      113   305.000   35.667   314.000   44.583      1025     24037
  138.      114   305.000   44.583   314.000   53.500       665     23519
  139.      115   305.000   53.500   314.000   62.417       452     18306
  140.      116   305.000   62.417   314.000   70.966       357      9632
  141.      117   314.000   37.458   323.000   44.583       463      5930
  142.      118   314.000   44.583   323.000   53.500      1078     17450
  143.      119   314.000   53.500   323.000   62.417      1491     20204
  144.      120   314.000   62.417   323.000   68.005       393      9936
  145.      121   323.000   43.917   323.000   43.921        10        10
  146.      122   323.000   45.333   332.000   53.500      1625     10313
  147.      123   323.000   53.500   332.000   62.417      2874     35829
  148.      124   323.000   62.417   332.000   68.500      1743     27657
  149.      125   332.000   47.625   341.000   53.500       498     14376
  150.      126   332.000   53.500   341.000   62.417      1759     56927
  151.      127   332.000   62.417   341.000   71.333      2539     44606
  152.      128   334.333   71.333   341.000   79.583       192      7132
  153.      129   341.000   49.500   349.005   53.500       188      7920
  154.      130   341.000   53.500   349.958   62.417       858     27169
  155.      131   341.000   62.417   349.958   71.333      2988     65073
  156.      132   341.000   71.333   349.375   79.588       477     15649
  157.  
  158.  
  159. The index file (DMAG.INX) contains information about the segments.  There is
  160. one 20 byte record for each segment.  Each record contains the contour level
  161. for the segment (2 byte integer), the minimum longitude (degrees east),
  162. minimum latitude, maximum longitude (degrees east), maximum latitude of the
  163. box surrounding the segment (each a 4 byte floating point number), and the
  164. number of points in the segment (2 byte integer).  The relationship between
  165. the index file and the data files is known through the byte offset to the
  166. beginning of each data set in the index file.  These byte offsets can be
  167. calculated from the number of segments in each data set (20 * cumulative
  168. number of segments).
  169.  
  170. The contour level is a relative value related to the actual data value and
  171. contour interval as follows:
  172.     Contour interval = 100 nanoTesslas
  173.     First contour level   =  1   Contour data value = -1200 nanoTesslas
  174.     Zero  contour level   = 13   Contour data value =     0 nanoTesslas
  175.     Maximum contour level = 31   Contour data value =  1800 nanoTesslas
  176.  
  177. These are the offsets in bytes to the first segment of
  178. each region in the Magnetic contour index file:
  179.  
  180.    Reg  Offset  Reg  Offset  Reg  Offset  Reg  Offset  Reg  Offset
  181.      0       0    1    3920    2    9320    3   23540    4   33960
  182.      5   41440    6   51900    7   80500    8   97000    9  105200
  183.     10  106720   11  123080   12  190820   13  214340   14  235880
  184.     15  249920   16  278200   17  290200   18  315100   19  349440
  185.     20  371640   21  397400   22  401640   23  416020   24  447760
  186.     25  500160   26  535480   27  574860   28  624760   29  642900
  187.     30  657480   31  662300   32  673820   33  728520   34  787220
  188.     35  850320   36  913820   37  960800   38  967980   39  973860
  189.     40  978240   41  990720   42 1036820   43 1095340   44 1143760
  190.     45 1193900   46 1221340   47 1231740   48 1235380   49 1244580
  191.     50 1314040   51 1406020   52 1446480   53 1484420   54 1514680
  192.     55 1556420   56 1594760   57 1596960   58 1613160   59 1737980
  193.     60 1775680   61 1796540   62 1829960   63 1849720   64 1936380
  194.     65 1988260   66 1992460   67 2002580   68 2026300   69 2027600
  195.     70 2039860   71 2082660   72 2156560   73 2254120   74 2301200
  196.     75 2308700   76 2328180   77 2359400   78 2365780   79 2382420
  197.     80 2421200   81 2501400   82 2554600   83 2595000   84 2607260
  198.     85 2611060   86 2620400   87 2639820   88 2671660   89 2726860
  199.     90 2833640   91 2926180   92 2952540   93 2964920   94 2966080
  200.     95 2974020   96 3042120   97 3085000   98 3105200   99 3223140
  201.    100 3320760  101 3345980  102 3351660  103 3353040  104 3361880
  202.    105 3447420  106 3525160  107 3546560  108 3656540  109 3696960
  203.    110 3709460  111 3712780  112 3714460  113 3733280  114 3753780
  204.    115 3767080  116 3776120  117 3783260  118 3792520  119 3814080
  205.    120 3843900  121 3851760  122 3851960  123 3884460  124 3941940
  206.    125 3976800  126 3986760  127 4021940  128 4072720  129 4076560
  207.    130 4080320  131 4097480  132 4157240
  208.  
  209.  
  210.  
  211. The region parameters and the byte offsets are contained in the file
  212. contour.h which is on your program disk. 
  213.  
  214. The programs listindx and listdata read the index and data files
  215. respectively and output the contents to standard output as ASCII. 
  216.  
  217.